#! /bin/bash

if [ -f "$1" ];then
   java -jar -Xms512m -Xmx1024m dist/CompressaoMetCient.jar comp "$1" "$2"

else
   echo "$1">arquivo
   java -jar -Xms512m -Xmx1024m dist/CompressaoMetCient.jar comp arquivo "$2"
   rm arquivo

fi
